<template>
  <view :style="themeColor">
    <view class="page">
      <view class="flex flex-direction flex-wrap align-stretch benben-position-layout flex purchaseDetails_flex_0"
        :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
        <view class='flex flex-wrap align-center justify-between flex-sub purchaseDetails_fd0_0'>
          <view class='flex flex-wrap align-center purchaseDetails_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back"
            data-url="1">
            <text class='fu-iconfont2  purchaseDetails_fd0_0_c0_c0'>&#xE794;</text>
          </view>
          <view class='flex flex-wrap align-stretch justify-center'>
            <text class='purchaseDetails_fd0_0_c1_c0'>求购详情</text>
          </view>
          <view class='flex flex-wrap align-center justify-end purchaseDetails_fd0_0_c0'>
            <image class='purchaseDetails_fd0_0_c2_c0' mode="aspectFit" :src='STATIC_URL+"7.png"'></image>
          </view>
        </view>

      </view>
      <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
      <!---flex布局flex布局开始-->
      <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout purchaseDetails_flex_1">
        <view class='flex flex-direction flex-wrap align-stretch purchaseDetails_fd1_0'>
          <view class='flex flex-wrap align-center justify-between purchaseDetails_fd1_0_c0'>
            <text class='purchaseDetails_fd1_0_c0_c0'>求购品种</text>
            <view class='flex flex-wrap align-center'>
              <text class='purchaseDetails_fd1_0_c0_c1_c0'>普麦</text>
            </view>
          </view>
          <view class='flex flex-wrap align-center justify-between purchaseDetails_fd1_0_c0'>
            <text class='purchaseDetails_fd1_0_c0_c0'>求购地址</text>
            <view class='flex flex-wrap align-center'>
              <text class='purchaseDetails_fd1_0_c0_c1_c0'>安徽省 阜阳市</text>
            </view>
          </view>
          <view class='flex flex-wrap align-center justify-between purchaseDetails_fd1_0_c2'>
            <text class='purchaseDetails_fd1_0_c0_c0'>数量</text>
            <view class='flex flex-wrap align-center'>
              <text class='purchaseDetails_fd1_0_c0_c1_c0'>5000吨</text>
            </view>
          </view>
          <view class='flex flex-wrap align-center justify-between purchaseDetails_fd1_0_c2'>
            <text class='purchaseDetails_fd1_0_c0_c0'>价格</text>
            <view class='flex flex-wrap align-center'>
              <text class='purchaseDetails_fd1_0_c0_c1_c0'>1.880</text>
              <text class='purchaseDetails_fd1_0_c0_c1_c0'>斤/元</text>
            </view>
          </view>
        </view>
        <view class='flex flex-direction flex-wrap align-stretch purchaseDetails_fd1_1'>
          <view class='flex flex-wrap align-center purchaseDetails_fd1_1_c0'>
            <text class='purchaseDetails_fd1_1_c0_c0'>求购要求</text>
          </view>
          <view class='flex flex-wrap align-center purchaseDetails_fd1_1_c1'>
            <view class='flex flex-direction flex-wrap align-start purchaseDetails_fd1_1_c1_c0'>
              <view class='flex flex-wrap align-center'>
                <text class='purchaseDetails_fd1_1_c1_c0_c0_c0'>数量</text>
                <text class='purchaseDetails_fd1_1_c1_c0_c0_c1'>500吨</text>
              </view>
              <view class='flex flex-wrap align-center purchaseDetails_fd1_1_c1_c0_c1'>
                <text class='purchaseDetails_fd1_1_c1_c0_c0_c0'>年份</text>
                <text class='purchaseDetails_fd1_1_c1_c0_c0_c1'>2023年</text>
              </view>
              <view class='flex flex-wrap align-center purchaseDetails_fd1_1_c1_c0_c1'>
                <text class='purchaseDetails_fd1_1_c1_c0_c0_c0'>净毛</text>
                <text class='purchaseDetails_fd1_1_c1_c0_c0_c1'>净粮</text>
              </view>
            </view>
            <view class='flex flex-direction flex-wrap align-start'>
              <view class='flex flex-wrap align-center purchaseDetails_fd1_1_c1_c0_c1'>
                <text class='purchaseDetails_fd1_1_c1_c0_c0_c0'>水分</text>
                <text class='purchaseDetails_fd1_1_c1_c0_c0_c1'>----</text>
              </view>
              <view class='flex flex-wrap align-center purchaseDetails_fd1_1_c1_c0_c1'>
                <text class='purchaseDetails_fd1_1_c1_c0_c0_c0'>容重</text>
                <text class='purchaseDetails_fd1_1_c1_c0_c0_c1'>----</text>
              </view>
            </view>
          </view>
          <view class='flex flex-wrap align-center purchaseDetails_fd1_1_c2'>
            <text class='purchaseDetails_fd1_1_c2_c0'>其他要求</text>
          </view>
          <view class='flex flex-wrap align-center purchaseDetails_fd1_1_c3'>
            <text class='purchaseDetails_fd1_1_c3_c0'>求购5000吨最新的2023年的普通优质小麦要求
              干净水分低,没有灰尘杂志等东西</text>
          </view>
        </view>
        <view class='flex flex-wrap align-center justify-between flex-sub purchaseDetails_fd1_2'>
          <view class='flex flex-wrap align-center justify-center purchaseDetails_fd1_2_c0'
            @tap.stop="popupShow1706149341379=true">
            <image class='purchaseDetails_fd1_2_c0_c0' mode="aspectFit" :src='STATIC_URL+"55.png"'></image>
            <text class='purchaseDetails_fd1_2_c0_c1'>转发给朋友</text>
          </view>
          <view class='flex flex-wrap align-center justify-center purchaseDetails_fd1_2_c1'
            @tap.stop="membershipFunc()">
            <image class='purchaseDetails_fd1_2_c0_c0' mode="aspectFit" :src='STATIC_URL+"54.png"'></image>
            <text class='purchaseDetails_fd1_2_c0_c1'>免费联系</text>
            <view class='flex flex-wrap align-center purchaseDetails_fd1_2_c1_c2'>
              <text class='purchaseDetails_fd1_2_c1_c2_c0'>限时免费</text>
            </view>
          </view>
        </view>
      </view>

      <!---flex布局flex布局结束-->
      <benben-popup v-model="popupShow1706623249659" :mask="true" :mask-close-able="false" mode='center' :z-index='999'>
        <!---flex布局flex布局开始-->
        <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout purchaseDetails_flex_2">
          <view class='flex flex-direction flex-wrap align-center purchaseDetails_fd2_0'>
            <text class='purchaseDetails_fd2_0_c0'>友情提示</text>
            <text class='purchaseDetails_fd2_0_c1'>非会员暂无法拨打</text>
            <button class='purchaseDetails_fd2_0_c2' @tap.stop="handleJumpDiy" data-type="navigateTo"
              :data-url="`/pages/wode/rurchaseMembership/rurchaseMembership`">去充值会员</button>
          </view>
        </view>

        <!---flex布局flex布局结束-->

      </benben-popup>
      <benben-popup v-model="popupShow1706622848302" :mask="true" :mask-close-able="false" mode='center' :z-index='999'>
        <!---flex布局flex布局开始-->
        <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout purchaseDetails_flex_3">
          <view class='flex flex-direction flex-wrap align-stretch purchaseDetails_fd3_0'>
            <view class='flex flex-wrap align-center justify-center'>
              <text class='purchaseDetails_fd3_0_c0_c0'>友情提示</text>
            </view>
            <view class='flex flex-wrap align-center justify-center purchaseDetails_fd3_0_c1'>
              <text class='purchaseDetails_fd3_0_c1_c0'>拨打电话前,这里有甲方一句话
                交易有风险涉及金钱要谨慎</text>
            </view>
            <view class='flex flex-wrap align-center justify-center purchaseDetails_fd3_0_c2'>
              <button class='purchaseDetails_fd3_0_c2_c0' @tap.stop="popupShow1706622848302=false">取消</button>
              <button class='purchaseDetails_fd3_0_c2_c1' @tap.stop="popupShow1706622848302=false">立刻拨打</button>
            </view>
          </view>
        </view>

        <!---flex布局flex布局结束-->

      </benben-popup>


    </view>
  </view>
</template>
<script>
  export default {
    components: {},


    data() {
      return {
        "popupShow1706622848302": false,
        "popupShow1706623249659": false,
        "is_vip": "1",
        "aid": ""
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },

    },
    watch: {},
    onLoad(options) {
      let {
        aid
      } = options
      if (aid !== undefined) this.aid = aid
    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {

    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      //是否是会员
      membershipFunc() {
        if (this.is_vip == '1') {
          this.popupShow1706622848302 = true;
        } else {
          this.popupShow1706623249659 = true;
        }
      }
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: rgba(248, 248, 250, 1);
    background-size: 100% auto;
  }

  .purchaseDetails_flex_0 {
    background: rgba(255, 255, 255, 1);
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto;
  }

  .purchaseDetails_fd0_0_c2_c0 {
    width: 119rpx;
    height: 55rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .purchaseDetails_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 700;
    color: #333333;
    line-height: 50rpx;
  }

  .purchaseDetails_fd0_0_c0_c0 {
    font-size: 36rpx;
    color: #333;
  }

  .purchaseDetails_fd0_0_c0 {
    width: 120rpx;
  }

  .purchaseDetails_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
  }

  .purchaseDetails_flex_1 {
    padding: 24rpx 30rpx 0rpx 30rpx;
  }

  .purchaseDetails_fd1_2_c1_c2_c0 {
    color: #FFFFFF;
    font-size: 20rpx;
    font-weight: 700;
    line-height: 20rpx;
  }

  .purchaseDetails_fd1_2_c1_c2 {
    background: url(image-path('51.png')) no-repeat;
    background-size: 100% auto;
    position: absolute;
    top: 0rpx;
    left: 0rpx;
    padding: 4rpx 10rpx 4rpx 10rpx;
  }

  .purchaseDetails_fd1_2_c1 {
    background: rgba(37, 104, 174, 1);
    width: 333rpx;
    height: 88rpx;
    border-radius: 24rpx;
    background-size: 100% auto;
    position: relative;
  }

  .purchaseDetails_fd1_2_c0_c1 {
    color: rgba(255, 255, 255, 1);
    font-size: 34rpx;
    font-weight: 400;
    line-height: 34rpx;
  }

  .purchaseDetails_fd1_2_c0_c0 {
    width: 36rpx;
    height: 36rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 16rpx 0rpx 0rpx;
  }

  .purchaseDetails_fd1_2_c0 {
    background: rgba(77, 199, 119, 1);
    width: 333rpx;
    height: 88rpx;
    border-radius: 24rpx;
    background-size: 100% auto;
  }

  .purchaseDetails_fd1_2 {
    margin: 33rpx 0rpx 0rpx 0rpx;
  }

  .purchaseDetails_fd1_1_c3_c0 {
    color: #101010;
    font-size: 28rpx;
    font-weight: 400;
    line-height: 48rpx;
  }

  .purchaseDetails_fd1_1_c3 {
    background: rgba(248, 248, 250, 1);
    margin: 0rpx 24rpx 32rpx 24rpx;
    border-radius: 16rpx;
    background-size: 100% auto;
    padding: 24rpx;
  }

  .purchaseDetails_fd1_1_c2_c0 {
    color: #333333;
    font-size: 28rpx;
    font-weight: 400;
    line-height: 32rpx;
  }

  .purchaseDetails_fd1_1_c2 {
    margin: 0rpx 24rpx 25rpx 24rpx;
  }

  .purchaseDetails_fd1_1_c1_c0_c1 {
    margin: 24rpx 0rpx 0rpx 0rpx;
  }

  .purchaseDetails_fd1_1_c1_c0_c0_c1 {
    color: #101010;
    font-size: 28rpx;
    font-weight: 400;
    line-height: 32rpx;
  }

  .purchaseDetails_fd1_1_c1_c0_c0_c0 {
    margin: 0rpx 56rpx 0rpx 0rpx;
    color: #666666;
    font-size: 28rpx;
    font-weight: 400;
    line-height: 32rpx;
  }

  .purchaseDetails_fd1_1_c1_c0 {
    margin: 0rpx 178rpx 0rpx 0rpx;
  }

  .purchaseDetails_fd1_1_c1 {
    margin: 24rpx 24rpx 32rpx 24rpx;
  }

  .purchaseDetails_fd1_1_c0_c0 {
    color: #101010;
    font-size: 32rpx;
    font-weight: 500;
    line-height: 32rpx;
  }

  .purchaseDetails_fd1_1_c0 {
    background: url(image-path('8.png')) no-repeat;
    padding: 32rpx 0rpx 32rpx 24rpx;
    background-size: 100% auto;
    border-radius: 16rpx 16rpx 0rpx 0rpx;
  }

  .purchaseDetails_fd1_1 {
    background: rgba(255, 255, 255, 1);
    border-radius: 16rpx;
    background-size: 100% auto;
    margin: 0rpx 0rpx 0rpx 0rpx;
  }

  .purchaseDetails_fd1_0_c2 {
    padding: 32rpx 0rpx 32rpx 0rpx;
  }

  .purchaseDetails_fd1_0_c0_c1_c0 {
    color: #101010;
    font-size: 32rpx;
    font-weight: 400;
    line-height: 32rpx;
  }

  .purchaseDetails_fd1_0_c0_c0 {
    color: #666666;
    font-size: 32rpx;
    font-weight: 400;
    line-height: 32rpx;
  }

  .purchaseDetails_fd1_0_c0 {
    border-bottom: 1px solid #eee;
    padding: 32rpx 0rpx 32rpx 0rpx;
  }

  .purchaseDetails_fd1_0 {
    background: rgba(255, 255, 255, 1);
    border-radius: 16rpx;
    background-size: 100% auto;
    margin: 0rpx 0rpx 24rpx 0rpx;
    padding: 0rpx 24rpx 0rpx 24rpx;
  }

  .purchaseDetails_flex_2 {
    background: rgba(255, 255, 255, 1);
    width: 540rpx;
    border-radius: 16rpx;
    background-size: 100% auto;
  }

  .purchaseDetails_fd2_0_c2 {
    background: rgba(37, 104, 174, 1);
    border-radius: 100rpx;
    width: 379rpx;
    line-height: 80rpx;
    font-size: 34rpx;
    color: #fff;
    margin: 40rpx 0rpx 0rpx 0rpx;
  }

  .purchaseDetails_fd2_0_c1 {
    color: #333333;
    font-size: 30rpx;
    font-weight: 400;
    line-height: 52rpx;
    text-align: center;
    margin: 22rpx 0rpx 0rpx 0rpx;
  }

  .purchaseDetails_fd2_0_c0 {
    color: #101010;
    font-size: 32rpx;
    font-weight: 500;
    line-height: 32rpx;
  }

  .purchaseDetails_fd2_0 {
    padding: 40rpx 0rpx 40rpx 0rpx;
  }

  .purchaseDetails_flex_3 {
    background: rgba(255, 255, 255, 1);
    width: 540rpx;
    border-radius: 16rpx;
    background-size: 100% auto;
  }

  .purchaseDetails_fd3_0_c2_c1 {
    background: rgba(37, 104, 174, 1);
    border-radius: 100rpx;
    width: 209rpx;
    line-height: 80rpx;
    font-size: 34rpx;
    color: #fff;
    margin: 0rpx 0rpx 0rpx 20rpx;
  }

  .purchaseDetails_fd3_0_c2_c0 {
    border: 1px solid rgba(102, 102, 102, 1);
    background: rgba(255, 255, 255, 1);
    border-radius: 100rpx;
    width: 209rpx;
    line-height: 80rpx;
    font-size: 34rpx;
    color: rgba(102, 102, 102, 1);
    margin: 0rpx 20rpx 0rpx 0rpx;
  }

  .purchaseDetails_fd3_0_c2 {
    margin: 40rpx 0rpx 0rpx 0rpx;
  }

  .purchaseDetails_fd3_0_c1_c0 {
    color: #333333;
    font-size: 30rpx;
    font-weight: 400;
    line-height: 52rpx;
    text-align: center;
  }

  .purchaseDetails_fd3_0_c1 {
    margin: 22rpx 0rpx 0rpx 0rpx;
  }

  .purchaseDetails_fd3_0_c0_c0 {
    color: #101010;
    font-size: 32rpx;
    font-weight: 500;
    line-height: 32rpx;
  }

  .purchaseDetails_fd3_0 {
    padding: 40rpx 0rpx 40rpx 0rpx;
  }
</style>
